﻿@model List<Super.Entities.ProductCategory>
@{
    ViewBag.Title = "产品分类";
}

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/admin/productcategory/edit" mask="true" target="dialog" rel="productCategory_Edit"><span>添加</span></a></li>
			<li><a class="delete" href="/admin/productcategory/Delete?pid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="/admin/productcategory/edit?pid={sid_user}" mask="true" target="dialog" rel="productCategory_Edit"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="120" align="center" >分类名称</th>
				<th width="100">单位</th>
				<th width="150">上限</th>
				<th width="150">下限</th>
				<th width="80">产品数量</th>
				<th width="80">备注</th>
			</tr>
		</thead>
        <tbody>
                @foreach (var item in Model)
                {
                 <tr target="sid_user" rel="@item.ID">
                        <td align="center">@item.Name</td>
                        <td>@item.Unit</td>
                        <td>@item.MaxCount</td>
                        <td>@item.MinCount</td>
                        <td>@item.ProductCount</td>
                        <td>@item.ReMark</td>   
                 </tr>
                }
            
        </tbody>
	</table>
</div>
